package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class CharacterTransliteration implements StringValueFunction {

    private int beginIndex;
    private int endIndex;
    private StringValueExpression characterValueExpression;
    private SchemaQualifiedName transliterationName;

    public CharacterTransliteration(int beginIndex,
                                    int endIndex,
                                    StringValueExpression characterValueExpression,
                                    SchemaQualifiedName transliterationName) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.characterValueExpression = characterValueExpression;
        this.transliterationName = transliterationName;
    }

    @Override
    public int getBeginIndex() {
        return beginIndex;
    }

    @Override
    public int getEndIndex() {
        return endIndex;
    }

    public StringValueExpression getCharacterValueExpression() {
        return characterValueExpression;
    }

    public SchemaQualifiedName getTransliterationName() {
        return transliterationName;
    }

}
